Optimal. Leaf size=227 \[ 2 a^3 e \sqrt{c+d x}-2 a^3 \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{c+d x}}{\sqrt{c}}\right )+\frac{2 (c+d x)^{3/2} \left (2 \left (20 a^3 d^3 f+3 a^2 b d^2 (45 d e-16 c f)-9 a b^2 c d (7 d e-4 c f)+4 b^3 c^2 (3 d e-2 c f)\right )+3 b d x \left (21 a b d^2 e-4 (b c-a d) (2 a d f-2 b c f+3 b d e)\right )\right )}{315 d^4}+\frac{2 (a+b x)^2 (c+d x)^{3/2} (2 a d f-2 b c f+3 b d e)}{21 d^2}+\frac{2 f (a+b x)^3 (c+d x)^{3/2}}{9 d} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.781711, antiderivative size = 227, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2 \[ 2 a^3 e \sqrt{c+d x}-2 a^3 \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{c+d x}}{\sqrt{c}}\right )+\frac{2 (c+d x)^{3/2} \left (2 \left (20 a^3 d^3 f+3 a^2 b d^2 (45 d e-16 c f)-9 a b^2 c d (7 d e-4 c f)+4 b^3 c^2 (3 d e-2 c f)\right )+3 b d x \left (21 a b d^2 e-4 (b c-a d) (2 a d f-2 b c f+3 b d e)\right )\right )}{315 d^4}+\frac{2 (a+b x)^2 (c+d x)^{3/2} (2 a d f-2 b c f+3 b d e)}{21 d^2}+\frac{2 f (a+b x)^3 (c+d x)^{3/2}}{9 d} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x)^3*Sqrt[c + d*x]*(e + f*x))/x,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 60.5883, size = 252, normalized size = 1.11 \[ - 2 a^{3} \sqrt{c} e \operatorname{atanh}{\left (\frac{\sqrt{c + d x}}{\sqrt{c}} \right )} + 2 a^{3} e \sqrt{c + d x} + \frac{2 f \left (a + b x\right )^{3} \left (c + d x\right )^{\frac{3}{2}}}{9 d} + \frac{4 \left (a + b x\right )^{2} \left (c + d x\right )^{\frac{3}{2}} \left (\frac{3 b d e}{2} + f \left (a d - b c\right )\right )}{21 d^{2}} + \frac{16 \left (c + d x\right )^{\frac{3}{2}} \left (15 a^{3} d^{3} f - 36 a^{2} b c d^{2} f + \frac{405 a^{2} b d^{3} e}{4} + 27 a b^{2} c^{2} d f - \frac{189 a b^{2} c d^{2} e}{4} - 6 b^{3} c^{3} f + 9 b^{3} c^{2} d e + \frac{9 b d x \left (21 a b d^{2} e + \left (4 a d - 4 b c\right ) \left (3 b d e + 2 f \left (a d - b c\right )\right )\right )}{8}\right )}{945 d^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**3*(f*x+e)*(d*x+c)**(1/2)/x,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.606165, size = 197, normalized size = 0.87 \[ \frac{2 \sqrt{c+d x} \left (105 a^3 d^3 (c f+3 d e+d f x)+63 a^2 b d^2 (c+d x) (-2 c f+5 d e+3 d f x)+9 a b^2 d (c+d x) \left (8 c^2 f-2 c d (7 e+6 f x)+3 d^2 x (7 e+5 f x)\right )+b^3 (-(c+d x)) \left (16 c^3 f-24 c^2 d (e+f x)+6 c d^2 x (6 e+5 f x)-5 d^3 x^2 (9 e+7 f x)\right )\right )}{315 d^4}-2 a^3 \sqrt{c} e \tanh ^{-1}\left (\frac{\sqrt{c+d x}}{\sqrt{c}}\right ) \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x)^3*Sqrt[c + d*x]*(e + f*x))/x,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.033, size = 301, normalized size = 1.3 \[ 2\,{\frac{1}{{d}^{4}} \left ( 1/9\,f{b}^{3} \left ( dx+c \right ) ^{9/2}+3/7\, \left ( dx+c \right ) ^{7/2}a{b}^{2}df-3/7\, \left ( dx+c \right ) ^{7/2}{b}^{3}cf+1/7\, \left ( dx+c \right ) ^{7/2}{b}^{3}de+3/5\, \left ( dx+c \right ) ^{5/2}{a}^{2}b{d}^{2}f-6/5\, \left ( dx+c \right ) ^{5/2}a{b}^{2}cdf+3/5\, \left ( dx+c \right ) ^{5/2}a{b}^{2}{d}^{2}e+3/5\, \left ( dx+c \right ) ^{5/2}{b}^{3}{c}^{2}f-2/5\, \left ( dx+c \right ) ^{5/2}{b}^{3}cde+1/3\, \left ( dx+c \right ) ^{3/2}{a}^{3}{d}^{3}f- \left ( dx+c \right ) ^{3/2}{a}^{2}bc{d}^{2}f+ \left ( dx+c \right ) ^{3/2}{a}^{2}b{d}^{3}e+ \left ( dx+c \right ) ^{3/2}a{b}^{2}{c}^{2}df- \left ( dx+c \right ) ^{3/2}a{b}^{2}c{d}^{2}e-1/3\, \left ( dx+c \right ) ^{3/2}{b}^{3}{c}^{3}f+1/3\, \left ( dx+c \right ) ^{3/2}{b}^{3}{c}^{2}de+{a}^{3}{d}^{4}e\sqrt{dx+c}-{a}^{3}\sqrt{c}{d}^{4}e{\it Artanh} \left ({\frac{\sqrt{dx+c}}{\sqrt{c}}} \right ) \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^3*(f*x+e)*(d*x+c)^(1/2)/x,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^3*sqrt(d*x + c)*(f*x + e)/x,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.245202, size = 1, normalized size = 0. \[ \left [\frac{315 \, a^{3} \sqrt{c} d^{4} e \log \left (\frac{d x - 2 \, \sqrt{d x + c} \sqrt{c} + 2 \, c}{x}\right ) + 2 \,{\left (35 \, b^{3} d^{4} f x^{4} + 5 \,{\left (9 \, b^{3} d^{4} e +{\left (b^{3} c d^{3} + 27 \, a b^{2} d^{4}\right )} f\right )} x^{3} + 3 \,{\left (3 \,{\left (b^{3} c d^{3} + 21 \, a b^{2} d^{4}\right )} e -{\left (2 \, b^{3} c^{2} d^{2} - 9 \, a b^{2} c d^{3} - 63 \, a^{2} b d^{4}\right )} f\right )} x^{2} + 3 \,{\left (8 \, b^{3} c^{3} d - 42 \, a b^{2} c^{2} d^{2} + 105 \, a^{2} b c d^{3} + 105 \, a^{3} d^{4}\right )} e -{\left (16 \, b^{3} c^{4} - 72 \, a b^{2} c^{3} d + 126 \, a^{2} b c^{2} d^{2} - 105 \, a^{3} c d^{3}\right )} f -{\left (3 \,{\left (4 \, b^{3} c^{2} d^{2} - 21 \, a b^{2} c d^{3} - 105 \, a^{2} b d^{4}\right )} e -{\left (8 \, b^{3} c^{3} d - 36 \, a b^{2} c^{2} d^{2} + 63 \, a^{2} b c d^{3} + 105 \, a^{3} d^{4}\right )} f\right )} x\right )} \sqrt{d x + c}}{315 \, d^{4}}, -\frac{2 \,{\left (315 \, a^{3} \sqrt{-c} d^{4} e \arctan \left (\frac{\sqrt{d x + c}}{\sqrt{-c}}\right ) -{\left (35 \, b^{3} d^{4} f x^{4} + 5 \,{\left (9 \, b^{3} d^{4} e +{\left (b^{3} c d^{3} + 27 \, a b^{2} d^{4}\right )} f\right )} x^{3} + 3 \,{\left (3 \,{\left (b^{3} c d^{3} + 21 \, a b^{2} d^{4}\right )} e -{\left (2 \, b^{3} c^{2} d^{2} - 9 \, a b^{2} c d^{3} - 63 \, a^{2} b d^{4}\right )} f\right )} x^{2} + 3 \,{\left (8 \, b^{3} c^{3} d - 42 \, a b^{2} c^{2} d^{2} + 105 \, a^{2} b c d^{3} + 105 \, a^{3} d^{4}\right )} e -{\left (16 \, b^{3} c^{4} - 72 \, a b^{2} c^{3} d + 126 \, a^{2} b c^{2} d^{2} - 105 \, a^{3} c d^{3}\right )} f -{\left (3 \,{\left (4 \, b^{3} c^{2} d^{2} - 21 \, a b^{2} c d^{3} - 105 \, a^{2} b d^{4}\right )} e -{\left (8 \, b^{3} c^{3} d - 36 \, a b^{2} c^{2} d^{2} + 63 \, a^{2} b c d^{3} + 105 \, a^{3} d^{4}\right )} f\right )} x\right )} \sqrt{d x + c}\right )}}{315 \, d^{4}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^3*sqrt(d*x + c)*(f*x + e)/x,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 117.726, size = 330, normalized size = 1.45 \[ - 2 a^{3} c e \left (\begin{cases} - \frac{\operatorname{atan}{\left (\frac{\sqrt{c + d x}}{\sqrt{- c}} \right )}}{\sqrt{- c}} & \text{for}\: - c > 0 \\\frac{\operatorname{acoth}{\left (\frac{\sqrt{c + d x}}{\sqrt{c}} \right )}}{\sqrt{c}} & \text{for}\: - c < 0 \wedge c < c + d x \\\frac{\operatorname{atanh}{\left (\frac{\sqrt{c + d x}}{\sqrt{c}} \right )}}{\sqrt{c}} & \text{for}\: c > c + d x \wedge - c < 0 \end{cases}\right ) + 2 a^{3} e \sqrt{c + d x} + \frac{2 b^{3} f \left (c + d x\right )^{\frac{9}{2}}}{9 d^{4}} + \frac{2 \left (c + d x\right )^{\frac{7}{2}} \left (3 a b^{2} d f - 3 b^{3} c f + b^{3} d e\right )}{7 d^{4}} + \frac{2 \left (c + d x\right )^{\frac{5}{2}} \left (3 a^{2} b d^{2} f - 6 a b^{2} c d f + 3 a b^{2} d^{2} e + 3 b^{3} c^{2} f - 2 b^{3} c d e\right )}{5 d^{4}} + \frac{2 \left (c + d x\right )^{\frac{3}{2}} \left (a^{3} d^{3} f - 3 a^{2} b c d^{2} f + 3 a^{2} b d^{3} e + 3 a b^{2} c^{2} d f - 3 a b^{2} c d^{2} e - b^{3} c^{3} f + b^{3} c^{2} d e\right )}{3 d^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**3*(f*x+e)*(d*x+c)**(1/2)/x,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.22605, size = 456, normalized size = 2.01 \[ \frac{2 \, a^{3} c \arctan \left (\frac{\sqrt{d x + c}}{\sqrt{-c}}\right ) e}{\sqrt{-c}} + \frac{2 \,{\left (35 \,{\left (d x + c\right )}^{\frac{9}{2}} b^{3} d^{32} f - 135 \,{\left (d x + c\right )}^{\frac{7}{2}} b^{3} c d^{32} f + 189 \,{\left (d x + c\right )}^{\frac{5}{2}} b^{3} c^{2} d^{32} f - 105 \,{\left (d x + c\right )}^{\frac{3}{2}} b^{3} c^{3} d^{32} f + 135 \,{\left (d x + c\right )}^{\frac{7}{2}} a b^{2} d^{33} f - 378 \,{\left (d x + c\right )}^{\frac{5}{2}} a b^{2} c d^{33} f + 315 \,{\left (d x + c\right )}^{\frac{3}{2}} a b^{2} c^{2} d^{33} f + 189 \,{\left (d x + c\right )}^{\frac{5}{2}} a^{2} b d^{34} f - 315 \,{\left (d x + c\right )}^{\frac{3}{2}} a^{2} b c d^{34} f + 105 \,{\left (d x + c\right )}^{\frac{3}{2}} a^{3} d^{35} f + 45 \,{\left (d x + c\right )}^{\frac{7}{2}} b^{3} d^{33} e - 126 \,{\left (d x + c\right )}^{\frac{5}{2}} b^{3} c d^{33} e + 105 \,{\left (d x + c\right )}^{\frac{3}{2}} b^{3} c^{2} d^{33} e + 189 \,{\left (d x + c\right )}^{\frac{5}{2}} a b^{2} d^{34} e - 315 \,{\left (d x + c\right )}^{\frac{3}{2}} a b^{2} c d^{34} e + 315 \,{\left (d x + c\right )}^{\frac{3}{2}} a^{2} b d^{35} e + 315 \, \sqrt{d x + c} a^{3} d^{36} e\right )}}{315 \, d^{36}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^3*sqrt(d*x + c)*(f*x + e)/x,x, algorithm="giac")
[Out]